package com.example.demo.config.dbcimpl;


import com.example.demo.config.DBConnector;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
//active设置成dev就能访问这个类
@Profile("dev")
public class  DevDBConnector implements DBConnector {
    @Override
    public void configure() {
       System.out.print("dev");
    }
}
